module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize

  const Contact = app.model.define('contacts', {
    // id: {
    //   type: INTEGER,
    //   primaryKey: true
    // },
    name: {
      type: STRING(32)
    },
    email: {
      type: STRING(32)
    },
    phoneNo: {
      type: STRING(32)
    },
    feedback: {
      type: STRING(60)
    }
  })

  return Contact
}
